package com.gxa.entity.points;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 积分表
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 10:36:06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_integral")
@ApiModel(value = "Integral对象", description = "积分表")
public class Integral implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号，积分表主键 ")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("积分表编号")
    @TableField("integration_id")
    private Integration integration;

    @ApiModelProperty("创建时间 ")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("积分类型编号")
    @TableField("integral_type_id")
    private IntegralType integralType;

    @ApiModelProperty("0为正常 1为删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
